package com.yfp.operation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yfp.operation.domain.PositionDO;
import com.yfp.operation.domain.dto.AssociationDTO;
import com.yfp.operation.domain.dto.UserLayerDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
*
* @description 针对表【position(点位表)】的数据库操作Mapper
* @createDate 2024-05-14 20:18:47
* @Entity domain.com.yfp.operation.PositionDO
*/
public interface PositionMapper extends BaseMapper<PositionDO> {

    /**
     * 查询点位详情
     * @param id
     * @return
     */
    PositionDO getById(String id);

    List<PositionDO> subAccountDetail(@Param("machineIds") List<String> machineIds);

    List<PositionDO> findAll();

    List<PositionDO> userLayerList(UserLayerDTO userLayerDTO);

    AssociationDTO startTime(@Param("positionId") String positionId);

}




